#include "type.h"

typedef struct gyro_sensor_t
{
    float w_x;
    float w_y;
    float w_z;
    float x_rungekutta;
    float y_rungekutta;
    float z_rungekutta;
} gyro_sensor_t;

extern gyro_sensor_t gyro;

void gyroscope_init(void);
void gyroscope_calibrate(void);
void gyroscope_sample(void);
void gyroscope_integrate_runge_kutta(float dt);
